import instance from "../base"


// 提交订单
export const submitOder = ( g_id, g_name, t_price, t_num, g_pic,uname,name, tel, addres) =>{
    return instance.post('/submitOrder', {
        params:{
            g_id,
            g_name,
            t_price,
            t_num,
            g_pic,
            uname,
            name,
            tel,
            addres
        },
        headers: {
            Authorization: localStorage.getItem('token')
        }
    })
}